package boot.spring.设计模式.访问者.被访问者;

import boot.spring.设计模式.访问者.访问者.LibraryVisitor;

public class Article implements LibraryItemInterface {

    @Override
    public void accept(LibraryVisitor visitor) {
        visitor.visitor(this);
    }

    public int getNums(){
        return 2;
    }
}
